Create Security Rule Slider
Use the Create Security Rules slider to create content security policies and page security rules, and to insert JavaScript into your site's code.
Option |
Description |
||||||
---|---|---|---|---|---|---|---|
Name |
Enter a descriptive name for each rule you create. For example, CSP for Checkout Pages. |
||||||
Rule Type |
|
The options change dynamically depending on what rule type you select. Use the drop-downs below to see the options for each rule type.
Option |
Description |
||||||
---|---|---|---|---|---|---|---|
Report URL |
The URL that the CSP report data will be sent to. The default URL is: |
||||||
Implementation |
Select an implementation type:
|
||||||
Access Control |
Select an option:
|
||||||
Enable Type |
Select an option:
|
||||||
Content Directives |
The default rule is default-src ‘self’. You can add additional directives by selecting an option from the Add Directive drop-down menu below. Click Show Inventory to select which services are allowed access to your site. Click the arrow next to each service to select its subdomains. CSP version support depends on the end-users browser type. |
Option |
Description |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Security Option |
Select an option:
|
||||||||||||
Access Control Strategy |
|
||||||||||||
Access Control |
|
||||||||||||
Enable Type |
|
Option |
Description |
---|---|
JavaScript |
Enter the JavaScript in the box. |
Additional Options
These options are available for all rule types.
Option |
Description |
||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Apply to |
|
||||||||||||||||||||||
Profiles |
Sets which profiles to apply the rule to. You can create profiles in Settings > Context Intelligence. |
||||||||||||||||||||||
Override States |
|
||||||||||||||||||||||
Notes (optional) |
Use the Notes field to add important information for your team. For example, if you are creating a temporary rule for testing, you can indicate that in the notes. |